package com.kamistoat.reactortest2;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test2")
public class IndexController {
    @GetMapping("/one")
    @ResponseBody
    public String one(){
        int i = 3/0;
        return "hello";
    }
}
